home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 7 / Eagles_Nest_Mac_Collection_Disc_7.TOAST / Internet⁄Other Nets / IntFTPhelp / Nav.ftp / Nav.ftp example < prev    next >
Text File  |  1992-11-30  |  6KB  |  167 lines

  1. NAVIGATING THE INTERNET: AN INTERACTIVE WORKSHOP
  2. Richard J. Smith
  3. Assistant Director For Technical Services
  4. University of Southwestern Louisiana
  5. rs@usl.edu
  6.  
  7.                                   FTP
  8.  
  9. File Transfer Protocol (ftp) is a powerful software utility that
  10. allows for the users of the Internet to access electronic information,
  11. and transfer that information to their local computers.
  12.  
  13. Ftp can transfer information at megabytes-per-seconds over the Internet.
  14. With upgrades of the Internet and the upcoming National Research and
  15. Education Network (NREN), projected speeds will be gigabytes-per-second.
  16.  
  17. As mentioned previously, many computers contain documents that can obtained
  18. via "anonymous ftp."  This wealth of information is what we will explore
  19. in the next few sessions.
  20.  
  21. Anonymous ftp is started by typing "ftp sitename" from your system
  22. prompt; typing in "anonymous" as the Name on the remote machine; and your
  23. local ID as the Password when requested by the remote machine.
  24.  
  25. The following is an example of obtaining a document via "anonymous ftp."
  26.  
  27. > NOTE: 'bss>' is my UNIX prompt.  Your prompt may be a '$' if you're on
  28. >       a VMS system or 'Ready;' if you're on a VM system.
  29.  
  30. --------------------
  31. bss> ftp 35.1.1.48
  32. Connected to 35.1.1.48.
  33. 220 nic.merit.edu FTP server (Version 4.1 Fri Aug 28 11:37:57 GDT
  34. 1987) ready.
  35. Name (35.1.1.48:rjs4808): anonyemous
  36. 331 Password required for anonyemous.
  37. Password:
  38. 530 Login incorrect.
  39. Login failed.
  40. ftp> bye
  41. 221 Goodbye.
  42. bss> ftp 35.1.1.48
  43. Connected to 35.1.1.48.
  44. 220 nic.merit.edu FTP server (Version 4.1 Fri Aug 28 11:37:57 GDT
  45. 1987) ready.
  46. Name (35.1.1.48:rjs4808): anonyemous
  47. 331 Password required for anonyemous.
  48. Password:
  49. 530 Login incorrect.
  50. Login failed.
  51. ftp> bye
  52. 221 Goodbye.
  53. bss> !!
  54. ftp 35.1.1.48
  55. Connected to 35.1.1.48.
  56. 220 nic.merit.edu FTP server (Version 4.1 Fri Aug 28 11:37:57 GDT
  57. 1987) ready.
  58. Name (35.1.1.48:rjs4808): anonymous
  59. 331 Guest login ok, send ident as password.
  60. Password:
  61. 230 Guest login ok, access restrictions apply.
  62. --------------------
  63. In the above ftp example session, I used the numeric address for the Merit
  64. Network Information Center Services although there are several address
  65. access points.
  66. --------------------
  67.                   Merit Network Information Center Services
  68.                       |          NIC.MERIT.EDU
  69.                       |         FTP.MERIT.EDU
  70.  Addresses            |        FTP.MICHNET.NET
  71.                       |          NIS.NSF.NET
  72.                       |          (35.1.1.48)
  73. --------------------
  74. In addition, I spell anonymous wrong several times.  Logging in is
  75. unforgiving, and if you spell the login wrong you may as well start
  76. over.  In ftp you can use the "open" command at the ftp> prompt
  77. "ftp> open 35.1.1.48", but I usually start over by ending the ftp
  78. session with a "bye" command and continue from the system prompt.
  79.  
  80. I spell the word anonymous correctly and gained access to
  81. the remote machine.  I used my Internet address "rs@usl.edu" as the
  82. password.
  83.  
  84. Once logged onto the remote machine I used the "ls -l" command (dir works
  85. the same) at the ftp prompt to look at the remote machine's directory:
  86. --------------------
  87. ftp> ls -l
  88. 200 PORT command successful.
  89. 150 Opening ASCII mode data connection for /bin/ls.
  90. total 63
  91. -rw-r--r--   1 nic      merit      17205 Jul 31 19:07 INDEX
  92. -rw-r--r--   1 nic      merit       5446 Aug 04 19:56 READ.ME
  93. drwxr-sr-x   2 nic      merit        512 Aug 14 12:40 acceptable.use.policies
  94. drwxr-sr-x   2 root     system       512 Feb 20 17:02 bin
  95. drwxr-sr-x   3 cise     nsf          512 Aug 14 12:53 cise
  96. drwxr-sr-x   9 nic      merit        512 Jul 29 15:09 documents
  97. drwxr-sr-x   3 root     system       512 Feb 20 17:02 etc
  98. drwxr-sr-x   8 nic      merit        512 Aug 07 15:34 internet
  99. drwxr-sr-x   2 nic      merit        512 Jul 31 14:35 introducing.the.internet
  100. drwxr-sr-x   2 root     system       512 Feb 20 17:02 lib
  101. drwxr-sr-x   2 nic      merit        512 Aug 10 15:58 maps
  102. drwxr-sr-x   7 nic      merit        512 Aug 14 18:59 michnet
  103. drwxr-sr-x   6 nic      merit        512 Jul 29 16:20 newsletters
  104. drwxr-sr-x   4 nic      merit        512 Aug 03 11:44 nren
  105. drwxr-sr-x  11 nic      merit        512 Jul 23 18:51 nsfnet
  106. drwxr-sr-x   2 omb      omb          512 Jul 29 16:22 omb
  107. drwxr-sr-x   3 nic      merit        512 Jul 23 15:03 resources
  108. drwxr-sr-x   3 nic      merit        512 Jul 29 16:39 statistics
  109. drwxr-sr-x   3 root     system       512 Feb 20 17:02 usr
  110. drwxr-sr-x   3 nic      merit        512 Jul 15 12:46 working.groups
  111. 226 Transfer complete. remote: -l
  112. 1290 bytes received in 0.49 seconds (2.6 Kbytes/s)
  113. ftp>
  114. --------------------
  115. The left column is important in that it tells me that most of the
  116. items listed are directories.  Signified by the d in the
  117. "drwxr-sr-x".
  118.  
  119. This means I will have to use the change directory "cd" command to
  120. get to files or get to another series of sub-directories.  The INDEX
  121. and READ.ME lines do not have a "d" in the far left column so they
  122. are files.  I then "get" the READ.ME file that was used in
  123. the earlier session.
  124. --------------------
  125. ftp> G
  126. ?Invalid command
  127. ftp> get README
  128. 200 PORT command successful.
  129. 550 README: No such file or directory.
  130. ftp> LS
  131. ?Invalid command
  132. ftp> ls
  133. 200 PORT command successful.
  134. 150 Opening ASCII mode data connection for /bin/ls.
  135. INDEX
  136. READ.ME
  137. acceptable.use.policies
  138. bin
  139. MORE TEXT
  140. 226 Transfer complete.
  141. 200 bytes received in 0.05 seconds (3.9 Kbytes/s)
  142. ftp> get READ.ME
  143. 200 PORT command successful.
  144. 150 Opening ASCII mode data connection for READ.ME (5446 bytes).
  145. 226 Transfer complete.
  146. local: READ.ME remote: READ.ME
  147. 5578 bytes received in 1.3 seconds (4.3 Kbytes/s)
  148. ftp> BYE
  149. ?Invalid command
  150. ftp> bye
  151. 221 Goodbye.
  152. bss>
  153. --------------------
  154. Note again that I messed up the "get" command by trying to retrieve
  155. the document READ.ME without using the ".". I used the "ls" command
  156. to find the correct spelling of the READ.ME file.  Exact spelling
  157. and Case sensitivity are imperative in getting files.  I finally
  158. got my file.  A chore, but with practice ease of using "anonymous ftp"
  159. will transpire.
  160.  
  161.  
  162.  
  163.  
  164. Navigating the Internet: An Interactive Workshop
  165. Copyright (C) 1992 by Richard J. Smith, All Rights Reserved.
  166. Permission granted for individual usage.
  167.